<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <div>
        <form action="/consumption/updateConsumption">
            <h3>消费清单信息</h3>
            <table>
                <tr>
                    <td>清单编码</td>
                    <td>
                        <input type="text" th:field="${consumption.listId}" name="listId" readonly="readonly">
                    </td>
                </tr>
                <tr>
                    <td>消费物品名称</td>
                    <td>
                        <input type="text" th:field="${consumption.goodsName}" name="goodsName">
                    </td>
                </tr>
                <tr>
                    <td>物品数量</td>
                    <td>
                        <input type="text" th:field="${consumption.goodsNum}" name="goodsNum">
                    </td>
                </tr>
                <tr>
                    <td>物品单价</td>
                    <td>
                        <input type="text" th:field="${consumption.goodsPrice}" name="goodsPrice">
                    </td>
                </tr>
                <tr>
                    <td>消费时间</td>
                    <td>
                        <input type="text" th:field="${consumption.useTime}" name="useTime">
                    </td>
                </tr>
                <tr>
                    <td>入住编码</td>
                    <td>
                        <input type="text" th:field="${consumption.checkInId}" name="checkInId">
                    </td>
                </tr>
            </table>
            <input type="submit" value="修改">
        </form>
    </div>
</body>
</html>